<?php session_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<?php 
	 include("mau.css");
	 include("csdl.php");
 ?>
 <div style="padding:0px 0px 0px 0px; border:none;">
	      <?php
		  	$knoi=new csdl();
			$q=$knoi->queryCsdl("select * from hinhthuc");
			$t=mysql_num_rows($q);
			$j=1;
			while($n=mysql_fetch_array($q))
			{
			?>
			<?php /*?>	<div id="loainhadat"><?php echo $n["tenloai"]; ?></div>
				<font class="stylelhinh">
			<?php
				$b=$n["maloai"];
				echo $b;
				$p=$knoi->queryCsdl("".$b);
				$sl=mysql_num_rows($p);
				$i=1;
				while($t=mysql_fetch_array($p))
				{
				?><?php */?>
					<div id="idleft1">
					<a href="" class="menulink">
					<ul style="padding:5px 0px 5px 0px; margin-left:20px;"><li  style="list-style-image:url(images/add.png);"><?php echo $n["tenht"]; ?> </li></ul></a>
				<?php /*?>	<?php
					if($i!=$sl)
					$i=$i+1;?>
				
				</div>
				<?php
				}
				?>
				</font><?php */?>
				 </div>
				<?php
				/*if($j!=$t)
					echo "<hr color='#CCCCFF' />";
				$j=$j+1;*/
			}
		  ?>
		 <!-- </font>-->
	</div>
</body>
</html>
